package com.tledu.store.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tledu.common.annotation.Excel;
import com.tledu.common.core.domain.BaseEntity;

/**
 * 库房对象 store_house
 * 
 * @author ruoyi
 * @date 2024-08-29
 */
public class StoreHouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @Excel(name = "主键id")
    private Long id;

    /** 库房名称 */
    @Excel(name = "库房名称")
    private String name;

    /** 库房地址 */
    private String location;

    /** 库房类型(0带地沟，1不带地沟，2其他) */
    @Excel(name = "库房类型(0带地沟，1不带地沟，2其他)")
    private Long type;

    /** 库房容量 */
    @Excel(name = "库房容量")
    private Long capacity;

    /** 实际库房占用量 */
    @Excel(name = "实际库房占用量")
    private Long actualCapacity;

    /** 附件 */
    private String attach;

    /** 状态(0未满，1已满) */
    @Excel(name = "状态(0未满，1已满)")
    private Long status;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long createUser;

    /** 删除标志(0代表存在 2代表删除) */
    private Long delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setCapacity(Long capacity) 
    {
        this.capacity = capacity;
    }

    public Long getCapacity() 
    {
        return capacity;
    }
    public void setActualCapacity(Long actualCapacity) 
    {
        this.actualCapacity = actualCapacity;
    }

    public Long getActualCapacity() 
    {
        return actualCapacity;
    }
    public void setAttach(String attach) 
    {
        this.attach = attach;
    }

    public String getAttach() 
    {
        return attach;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }
    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("location", getLocation())
            .append("type", getType())
            .append("capacity", getCapacity())
            .append("actualCapacity", getActualCapacity())
            .append("attach", getAttach())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
